home *** CD-ROM | disk | FTP | other *** search
/ Our Solar System / Our Solar System.iso / miscprog / targ / mancon.h < prev    next >
Text File  |  1987-03-25  |  835b  |  45 lines

  1. /* mancon.h -- Manifest constants for Targ-Hurt ESP Trainer 
  2.    
  3.    History: rhs 14-mar-87 ... Original
  4. */
  5.  
  6. /* Commands given by the user in the form of keypresses: */
  7. #define NORTH  0
  8. #define SOUTH  1
  9. #define EAST   2
  10. #define WEST   3
  11. #define START  4
  12. #define QUIT   5
  13. #define PASS   6
  14. #define RESET  7
  15. #define CHANGE 8
  16. #define HELP   9
  17.  
  18. /* Extended ASCII codes of arrow keys: */
  19. #define UP    72
  20. #define DOWN  80
  21. #define LEFT  75
  22. #define RIGHT 77
  23.  
  24. /* Keyword for accessing global data: */
  25. #define IMPORT extern
  26. #define GLOBAL 
  27. #define SEMIGLOBAL static
  28.  
  29. /* Type for flags holding only TRUE or FALSE: */
  30. #define BOOL int
  31.  
  32. #define TRUE  1
  33. #define FALSE 0
  34.  
  35. #ifndef NULL
  36. #define NULL 0
  37. #endif
  38.  
  39. /* How many encouragement messages are there? */
  40. #define ENCMSGS 6
  41.  
  42.  
  43. #define ON  1 
  44. #define OFF 2
  45.